<template>
  <div>
    <h2 class="title">{{message}}</h2>
    <h2>{{name}}</h2>
    <children></children>
  </div>
</template>

<script>
  import children from "./children.vue";
  export default {
    template: "App",
    data() {
      return {
        message: "hello word",
        name: "code test"
      }
    },
    components:{
      children
    }
  }
</script>

<style scoped>
.title{
  color: green;
}
</style>